function login(){
	//alert(11111);
	var username = $("#Username").val();
	var password = $("#Password").val();
	var loginDTO = {};
	loginDTO.username = username;
	loginDTO.password = password;
	//console.log(loginDTO);
	$.ajax({
		type: "POST",
		url:basePath +"/login/login",
		headers: { 
	        'Accept': 'application/json',
	        'Content-Type': 'application/json' 
	    },
		data:JSON.stringify(loginDTO),
		success:function(data){
			console.log(data);
			var returnCode = data.returnCode;
			if(returnCode == 'SUCCESS'){
				//alert("登录成功");
				window.location.href = basePath +"/login/dashboardInit";
			}else{
				alert("用户名或密码错误");
			}
		},
		error:function(ajaxobj){
			console.log(ajaxobj);
		}
	});
}